package cn.yangtianxia.org.mapper;

import cn.yangtianxia.basic.vo.ShopVo;
import cn.yangtianxia.org.domain.Shop;
import cn.yangtianxia.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yangtianxia
 * @since 2022-03-28
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop loadByName(String shopName);

    void batchAdd(List<Shop> list);

    List<ShopVo> loadCount();

    List<Shop> queryAll();
}
